package ooday04;

public class Doctor extends Person{
    String level;
    Doctor(String name, int age, String address,String level) {
        super(name,age,address);
        this.level = level;
    }

    @Override
    void sayHi() {
        System.out.println("name=" + name +
                ", age=" + age +
                ", address=" + address + ",level " + level);
    }
}
